package iagovsothello.gui;
import java.awt.*;
import javax.swing.*;



/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class InfoDialog extends javax.swing.JDialog {

	private static final long serialVersionUID = 7904367497821142259L;
	private JLabel labelAuthors;
	private JLabel labelAuthors2;
	private JLabel labelLicense;
	private JLabel labelUnisa;
	private JLabel labelEmail;
	private JLabel labelUnisa3;
	private JLabel labelUnisa2;
	private JLabel labelGPLURL;
	
	public InfoDialog(JFrame frame) 
	{
		super(frame);
		initGUI();
	}
	
	private void initGUI() 
	{
		GridBagLayout thisLayout = new GridBagLayout();
			thisLayout.rowWeights = new double[] {0.0, 0.0, 0.1, 0.0, 0.0, 0.0, 0.0, 0.1, 0.1};
			thisLayout.rowHeights = new int[] {30, 30, 20, 25, 25, 25, 30, 20, 7};
			thisLayout.columnWeights = new double[] {0.1};
			thisLayout.columnWidths = new int[] {7};
			getContentPane().setLayout(thisLayout);
			this.setResizable(false);
			this.setAlwaysOnTop(true);
			this.setTitle("Informazioni su...");
			
			labelAuthors = new JLabel();
			getContentPane().add(labelAuthors, new GridBagConstraints(-1, 0, 2, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			labelAuthors.setText("Sviluppato da:");
			labelAuthors.setFont(new java.awt.Font("Dialog",0,14));

			labelAuthors2 = new JLabel();
			getContentPane().add(labelAuthors2, new GridBagConstraints(-1, 1, 2, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			labelAuthors2.setText("Jacopo Festa e Stanislao Davino");
			labelAuthors2.setFont(new java.awt.Font("Dialog",1,14));

			labelLicense = new JLabel();
			getContentPane().add(labelLicense, new GridBagConstraints(-1, 7, 2, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			labelLicense.setText("Questo software e' rilasciato sotto licenza GPL versione 3");
			labelLicense.setFont(new java.awt.Font("Dialog",0,14));

			labelGPLURL = new JLabel();
			getContentPane().add(labelGPLURL, new GridBagConstraints(-1, 8, 2, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			labelGPLURL.setText("http://www.gnu.org/licenses/gpl.html");
			labelGPLURL.setFont(new java.awt.Font("Dialog",0,14));
			{
				labelUnisa = new JLabel();
				getContentPane().add(labelUnisa, new GridBagConstraints(-1, 3, 2, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				labelUnisa.setText("Nell'ambito del corso di Intelligenza Artificiale");
				labelUnisa.setFont(new java.awt.Font("Dialog",0,14));
			}
			{
				labelUnisa2 = new JLabel();
				getContentPane().add(labelUnisa2, new GridBagConstraints(0, 4, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				labelUnisa2.setText("Laurea Magistrale in Ing. Informatica - Universita' degli Studi di Salerno");
				labelUnisa2.setFont(new java.awt.Font("Dialog",0,14));
			}
			{
				labelUnisa3 = new JLabel();
				getContentPane().add(labelUnisa3, new GridBagConstraints(0, 5, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				labelUnisa3.setText("Proff. Marcelli, Della Cioppa");
				labelUnisa3.setFont(new java.awt.Font("Dialog",0,14));
			}
			{
				labelEmail = new JLabel();
				getContentPane().add(labelEmail, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				labelEmail.setText("festajacopo@gmail.com   stanislaodavino@gmail.com");
				labelEmail.setFont(new java.awt.Font("Courier",0,14));
			}

			this.setSize(538, 375);
	}

}
